//
//  AppDelegate.h
//  11 Core Data Persistence
//
//  Created by willter on 13-3-7.
//  Copyright (c) 2013年 willter. All rights reserved.
//

#import <UIKit/UIKit.h>

@class PersistenceViewController;

@interface AppDelegate : NSObject <UIApplicationDelegate>

- (IBAction)saveAction:sender;

@property (nonatomic, retain, readonly) NSManagedObjectModel *managedObjectModel;
@property (nonatomic, retain, readonly) NSManagedObjectContext *managedObjectContext;
@property (nonatomic, retain, readonly) NSPersistentStoreCoordinator *persistentStoreCoordinator;

@property (nonatomic, readonly) NSString *applicationDocumentsDirectory;

@property (strong, nonatomic) UIWindow *window;

@property (strong, nonatomic) PersistenceViewController *viewController;

@end
